Component({
    properties: {
        address: {
            type: Object
        },
        showTitle: {
            type: Boolean,
            value: !1
        },
        editStatus: {
            type: Boolean,
            value: !1
        },
        back: {
            type: String,
            value: ""
        },
        count: {
            type: Number
        }
    },
    data: {
        imgUrl: "images/order_address_icon@2x.png"
    },
    methods: {
        toAddress: function(t) {
            console.log(t.currentTarget.dataset.id);
            var e = t.currentTarget.dataset.id;
            this.triggerEvent("taping", {
                id: e
            });
        },
        toEditAddress: function(t) {
            var e = t.currentTarget.dataset.addressid;
            wx.navigateTo({
                url: "/pages/edit_address/edit_address?addressid=".concat(e, "&count=").concat(this.data.count)
            });
        }
    }
});